package com.xinxin.siteset.service.impl;

import com.xinxin.siteset.dao.SiteMapper;
import com.xinxin.siteset.model.Site;
import com.xinxin.siteset.service.SiteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 史鑫鑫
 * @date Created in 2019/6/7 0:00
 */
@Service
public class SiteServiceImpl implements SiteService {
    @Autowired
    SiteMapper siteMapper;

    @Override
    public void insert(Site site) {
        siteMapper.insert(site);
    }
}
